package com.cdd.servicebankcard;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

@SpringBootApplication(exclude = MongoAutoConfiguration.class)
@EnableEurekaClient
//@EnableAspectJAutoProxy
@EnableHystrix
@ComponentScan({"com.cdd.servicebankcard", "org.dromara.hmily"})
@MapperScan(basePackages = "com.cdd.servicebankcard.dao")
public class ServiceBankcardApplication {

    public static void main(String[] args) {
        SpringApplication.run(ServiceBankcardApplication.class, args);
    }

}
